package cn.cdeden.knowledge.mapper;

import cn.cdeden.knowledge.domain.FilesSynergy;
import cn.cdeden.knowledge.domain.dto.UserSynergyQueryParam;
import cn.cdeden.knowledge.domain.vo.FilesSynergyVo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface FilesSynergyMapper extends BaseMapper<FilesSynergy> {

    IPage<FilesSynergyVo> queryUserInfo(IPage<FilesSynergy> page,
                                        @Param("query") UserSynergyQueryParam query );


    FilesSynergyVo queryById(@Param("id") String id,String userId);
}
